import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set_node_cls from '@dfeidao/atom-web/ui/set-node-cls';
import set from '@dfeidao/atom-web/local/set';

export default async function a001(fd: IFeidaoAiBrowserComponent, d_name: string, nos: string) {
	//右侧新增窗口
	const n = fd.data.node.querySelector<HTMLDivElement>('[data-id="right_add"]');
	set_node_cls(n, 'display-n', false);

	const a = fd.data.node.querySelector<HTMLSpanElement>('[data-id="risk_po_type_name"]');
	a.innerText = d_name;
	set(fd, 'd_name', d_name);
	set(fd, 'nos', nos);

}
